FROM openjdk:8-jdk-alpine
RUN apk add --update ttf-dejavu fontconfig && rm -rf /var/cache/apk/*
RUN apk --update add tzdata && \
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone && \
apk del tzdata && \
rm -rf /var/cache/apk/*
RUN mkdir -p /usr/share/fonts/windows
COPY simsun.ttc /usr/share/fonts/windows/simsun.ttc